package sli.sli2.domain;

import java.security.PublicKey;

public class SecuredObjectKey {
	
	private int securedObjectID;
	private PublicKey securedObjectPublicKey;
	
	public SecuredObjectKey(int securedObjectID, PublicKey securedObjectPublicKey){
		this.securedObjectID = securedObjectID;
		this.securedObjectPublicKey = securedObjectPublicKey;
	}
	
	/**
	 * Getter: Secured Object ID
	 * @return the ID of the secured object where the key belongs to
	 */
	public int getID(){
		return securedObjectID;
	}
	
	/**
	 * Getter: Public Key
	 * @return the Public Key of the Secured Object
	 */
	public PublicKey getPublicKey(){
		return securedObjectPublicKey;
	}

}
